#pragma once
#include "HalconCpp.h"
#include "HDevEngineCpp.h"

using namespace HalconCpp;
using namespace HDevEngineCpp;

#include "opencv2/opencv.hpp"
using namespace  cv;

extern Mat himageToMat(HObject& imgHalcon);

extern HObject matToHImage( Mat& imgMat);


extern Mat drawRegionFill(Mat mat_image, HObject region, Scalar color);

extern Mat drawRegion( Mat mat_image,HObject region, Scalar color);

extern Mat drawXld( Mat mat_image, HObject xlds, Scalar color);
